﻿using UnityEngine;
using System.Collections;

namespace Lost{
	/// <summary>
	/// 电路按钮，即按一下改变电路上几个“灯”的状态的按钮
	/// 对应的Key为YellowBikeKey
	/// </summary>
	public class CircuitButton : LostButton {
		[SerializeField] int[] ValueIndexs;
		YellowBikeKey ybk;
		public override void Interact (HitInf hitInf)
		{
			base.Interact (hitInf);
			ybk.ChangeValues (ValueIndexs);
		}
	}
}
